package com.tydic.enterprise.service;

import com.tydic.enterprise.domain.EnterpriseUser;
import com.tydic.system.domain.SysUser;

import java.util.List;

public interface IEnterpriseUserService {
    void insert(SysUser sysUser, List<String> roleCodes);

    void update(SysUser sysUser, List<String> roleCodes);

    List<EnterpriseUser> findByEnterpriseId(String enterpriseId);

    void deleteByUserCode(String userCode);

    EnterpriseUser findByUserCode(String userCode);

    void update(EnterpriseUser enterpriseUser);
}
